package com.ssy.lingxi.member.merchant.model.vo.basic.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.util.List;

/**
 * 更加勾选的Id列表，更新角色左侧权限菜单VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-10-23
 */
public class RoleUpdateMenuVO implements Serializable {
    private static final long serialVersionUID = 5089095039010697785L;

    @NotNull(message = "角色Id要大于0")
    @Positive(message = "角色Id要大于0")
    private Long roleId;

    /**
     * 左侧勾选菜单的id列表
     */
    private List<Long> menuIds;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public List<Long> getMenuIds() {
        return menuIds;
    }

    public void setMenuIds(List<Long> menuIds) {
        this.menuIds = menuIds;
    }
}
